<template>
  <div ref="codeEditor" style="height: 400px;"></div>
</template>

<script setup lang="ts">
import * as monaco from 'monaco-editor';
import {ref, onMounted} from 'vue';

interface Props {
  value: string,
  language: string,
}

const codeEditor = ref()

const props = withDefaults(defineProps<Props>(), {
  value: () => "",
  onChange: (v: string) => {
    console.log(v);
  }
});


</script>
